import request from '@/utils/request'

/** 获取列表 */
export function shopInformationInfo(data) {
  return request({
    url: '/shop/shopInformation/info',
    method: 'get',
    params: data
  })
}

/** 编辑 */
export function shopInformationEdit(data) {
  return request({
    url: '/shop/shopInformation/EditStore',
    method: 'post',
    data
  })
}

/** 店铺设置 */
export function shopInformationSetting(data) {
  return request({
    url: 'shop/shopInformation/shopSetting',
    method: 'post',
    data
  })
}

/** 店铺管理-财务账户-添加/编辑类型 */
export function shopInformation(data) {
  return request({
    url: '/shop/shopInformation/addpay',
    method: 'post',
    data
  })
}
/** 店铺管理-财务账号-获取列表 */
export function accountBink(data) {
  return request({
    url: `/shop/shopInformation/accountBink/${data}`,
    method: 'post'
  })
}
/** 店铺管理-财务账号-删除 */
export function delFinance(data) {
  return request({
    url: `/shop/shopInformation/delFinance/${data}`,
    method: 'post'
  })
}
